package com.iplant.pdm.service.po.bop;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.po.BasePO;
import com.iplant.base.po.enums.DBSchemas;
import com.iplant.base.utils.annotation.condition.DBCondition;
import com.iplant.base.utils.annotation.field.DBField;
import com.iplant.base.utils.annotation.po.DBBasePO;

import java.io.Serializable;

/**
 * 工序卡文件
 * 
 * @author ShrisJava
 *
 */
@DBBasePO(TableName="fpc_stepsop",Schemas = DBSchemas.PDM,CodeAuto = false,
        CheckName = {"RoutePartPointID,Name","Code,Version"})
public class FPCStepSOP extends BasePO implements Serializable {
    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    @DBCondition
    @DBField
    public String Version = "";


    @DBCondition
    @DBField
    public int RoutePartPointID = 0;
    public String RoutePartPointName = "";
    public String RoutePartPointVersion = "";
    public String RoutePartPointCode = "";

    public int RoutePartID = 0;
    public String RoutePartName = "";
    public String RoutePartVersion = "";
    public String RoutePartCode = "";

    public int RouteID = 0;
    public String RouteCode = "";
    public String RouteName = "";
    public String RouteVersion = "";

    /**
     * 文件路径
     */
    public String FilePath = "";

    /**
     * 1 img 2 Video 3 PDF 4 Word
     */
    public int FileType = 0;

    /**
     * 1 MES 2 TCM
     */
    public int SourceType = 0;

    @JsonProperty("Version")
    public String getVersion() {
        return Version;
    }

    public void setVersion(String version) {
        Version = version;
    }

    @JsonProperty("RoutePartPointID")
    public int getRoutePartPointID() {
        return RoutePartPointID;
    }

    public void setRoutePartPointID(int routePartPointID) {
        RoutePartPointID = routePartPointID;
    }

    @JsonProperty("RoutePartPointName")
    public String getRoutePartPointName() {
        return RoutePartPointName;
    }

    public void setRoutePartPointName(String routePartPointName) {
        RoutePartPointName = routePartPointName;
    }

    @JsonProperty("RoutePartPointVersion")
    public String getRoutePartPointVersion() {
        return RoutePartPointVersion;
    }

    public void setRoutePartPointVersion(String routePartPointVersion) {
        RoutePartPointVersion = routePartPointVersion;
    }

    @JsonProperty("RoutePartPointCode")
    public String getRoutePartPointCode() {
        return RoutePartPointCode;
    }

    public void setRoutePartPointCode(String routePartPointCode) {
        RoutePartPointCode = routePartPointCode;
    }

    @JsonProperty("RoutePartID")
    public int getRoutePartID() {
        return RoutePartID;
    }

    public void setRoutePartID(int routePartID) {
        RoutePartID = routePartID;
    }

    @JsonProperty("RouteID")
    public int getRouteID() {
        return RouteID;
    }

    public void setRouteID(int routeID) {
        RouteID = routeID;
    }

    @JsonProperty("RouteCode")
    public String getRouteCode() {
        return RouteCode;
    }

    public void setRouteCode(String routeCode) {
        RouteCode = routeCode;
    }

    @JsonProperty("RouteName")
    public String getRouteName() {
        return RouteName;
    }

    public void setRouteName(String routeName) {
        RouteName = routeName;
    }

    @JsonProperty("RouteVersion")
    public String getRouteVersion() {
        return RouteVersion;
    }

    public void setRouteVersion(String routeVersion) {
        RouteVersion = routeVersion;
    }

    @JsonProperty("FilePath")
    public String getFilePath() {
        return FilePath;
    }

    public void setFilePath(String filePath) {
        FilePath = filePath;
    }

    @JsonProperty("FileType")
    public int getFileType() {
        return FileType;
    }

    public void setFileType(int fileType) {
        FileType = fileType;
    }

    @JsonProperty("SourceType")
    public int getSourceType() {
        return SourceType;
    }

    public void setSourceType(int sourceType) {
        SourceType = sourceType;
    }

    @JsonProperty("RoutePartName")
    public String getRoutePartName() {
        return RoutePartName;
    }

    public void setRoutePartName(String routePartName) {
        RoutePartName = routePartName;
    }

    @JsonProperty("RoutePartVersion")
    public String getRoutePartVersion() {
        return RoutePartVersion;
    }

    public void setRoutePartVersion(String routePartVersion) {
        RoutePartVersion = routePartVersion;
    }

    @JsonProperty("RoutePartCode")
    public String getRoutePartCode() {
        return RoutePartCode;
    }

    public void setRoutePartCode(String routePartCode) {
        RoutePartCode = routePartCode;
    }

}
